import React from 'react'
import { BrowserRouter } from 'react-router-dom'
import { Provider } from 'react-redux'
import RouterView from './routes/routes.view'
import routes from './routes/routes.config'
import store from './store'

function App() {
    return (
        <Provider store={store}>
            <BrowserRouter>
                <RouterView routes={routes} />
            </BrowserRouter>
        </Provider>
    )
}

export default App
